// SetBusyToneDlg.cpp : implementation file
//

#include "stdafx.h"
#include "ubox_recorder_test.h"
#include "SetBusyToneDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSetBusyToneDlg dialog


CSetBusyToneDlg::CSetBusyToneDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CSetBusyToneDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CSetBusyToneDlg)
	m_bDualTone = FALSE;
	m_lBusyOff = 350;
	m_lBusyOn = 350;
	m_lFrequency0 = 450;
	m_Frequencey1 = 420;
	m_lTimeError = 50;
	m_lBusyCount = 3;
	m_lBusyEnergy = 12;
	//}}AFX_DATA_INIT
}


void CSetBusyToneDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSetBusyToneDlg)
	DDX_Check(pDX, IDC_CHECK_IS_DUAL_TONE, m_bDualTone);
	DDX_Text(pDX, IDC_EDIT_BUSY_OFF, m_lBusyOff);
	DDX_Text(pDX, IDC_EDIT_BUSY_ON, m_lBusyOn);
	DDX_Text(pDX, IDC_EDIT_FREQUENCY0, m_lFrequency0);
	DDX_Text(pDX, IDC_EDIT_FREQUENCY1, m_Frequencey1);
	DDX_Text(pDX, IDC_EDIT_TIME_ERROR, m_lTimeError);
	DDX_Text(pDX, IDC_EDIT_BUSY_COUNT, m_lBusyCount);
	DDX_Text(pDX, IDC_EDIT_ENERGY, m_lBusyEnergy);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSetBusyToneDlg, CDialog)
	//{{AFX_MSG_MAP(CSetBusyToneDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSetBusyToneDlg message handlers
